Url:<br>
<input id="path" /><button onclick="document.getElementById('link').href=document.getElementById('path').value; return false;">Set Link</button><br>
<a href="#" id="link">Save target as...</a>